﻿@model S4Store.Models.FinancialKpi.CarBrandListModel
@{
    Layout = null;
    ViewBag.Title = "SellerList";
}
@{int i = 0;}
@foreach (var brand in Model.CarBrands)
{
    var config = Model.GetCarBrandMonthConfig(brand.Id);
        <tr>
            <th>@brand.Name 
            <input type="hidden" name="brandconfig[@i].CarBrandId" value="@brand.Id" />
            </th>
          
            
            <td><input type="checkbox"  name="brandconfig[@i].Enble" value="true" @if(config.Enble)
                                                                               {
                                                                                   <text>checked="checked"</text>
                                                                               }/></td>
            <td><input type="text" class="textInput numberinput" size="5" name="brandconfig[@i].YCKCCB" value="@config.YCKCCB.toInt()" /></td>
            <td><input type="text" class="textInput numberinput" size="5" name="brandconfig[@i].YMKCCB" value="@config.YMKCCB.toInt()" /></td>
            <td><input type="text" class="textInput numberinput" size="5" name="brandconfig[@i].CLXSCB" value="@config.CLXSCB.toInt()" /></td>
            <td><input type="text" class="textInput numberinput" size="5" name="brandconfig[@i].SHZCZ" value="@config.SHZCZ.toInt()" /></td>
          
            
        </tr>
        i++;   

}

